package com.bruce.demo1.principles.demo6.crp.demo2;

/**
 * @PROJECT_NAME design_patterns
 * @DESCRIPTION 汽油车
 * @AUTHOR CNBruceLee
 * @DATE 2021/6/30 8:50
 */
public class PetrolCar extends Car {
    public void move() {
        System.out.println(this.color.getColor() + "燃油车汽车动起来了");
    }

    public Color setColor(Color color) {
        return null;
    }
}
